package org.dfrt.own.entity;

import java.util.List;

/**
 * @author zhang
 * ClassName: BlogExp
 * Description: 博客扩展类
 * date: 2023/10/6 12:26
 * @since JDK 8
 */
public class BlogExp extends Blog{
    private User user;
    private List<Comment> commentList;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }

    @Override
    public String toString() {
        return "BlogExp{" +
                "user=" + user +
                ", commentList=" + commentList +
                "} " + super.toString();
    }
}
